/*
 * Robot.h
 *
 *  Created on: Jan 19, 2012
 *      Author: jacobimo
 */

#ifndef ROBOT_H_
#define ROBOT_H_
#include <libplayerc++/playerc++.h>
#include <libplayerc++/clientproxy.h>
using namespace PlayerCc;

class Robot {
public:
	Robot(char* ip , int port);
	double operator[] (int index);

	virtual ~Robot();

	void read();
	void setSpeed(int forward , int around);


private:
	PlayerClient _pc;
	SonarProxy _sp;
	BlobfinderProxy _blob;
	Position2dProxy _pp;


};

#endif /* ROBOT_H_ */

